import 'package:fluttertoast/fluttertoast.dart';
import 'package:flutter_ume/res/res_index.dart';

///对ToastUtil的简单封装
class ToastUtil {
  static void showShortToast(String msg) {
    Fluttertoast.showToast(
        msg: msg,
        toastLength: Toast.LENGTH_SHORT,
        gravity: ToastGravity.BOTTOM,
        timeInSecForIos: 1,
        backgroundColor: Colours.baseTextColor,
        textColor: Colours.white,
        fontSize: Dimens.font_sp16);
  }
}
